Release 10.1A: OpenEdge Data Management:
DataServer for ORACLE


Building executables for the UNIX Host

This section contains instructions for building host executables. The script is located in the oebuild/make directory under the root of your OpenEdge install.

To build a UNIX host executable:

  1. Open a terminal and invoke a Bourne shell (/bin/sh) on the system where OpenEdge is installed.
  2. Change to user 'root'.
  3. Set and export the environment variable DLC to the OpenEdge installation directory. For example:
  4. DLC=/usr/OpenEdge/dlc 
    export DLC 
    

  5. Optionally set and export the environment variable IMAGE to the full pathname of the executable to be generated. By default the client executable will be named:
  6. $DLC/oebuild/_orasrv 
    

  7. Set the environment variable ORACLE_HOME to the top level directory of your ORACLE installation. For example:
  8.  ORACLE_HOME=/usr/oracle/9i 
    export ORACLE_HOME 
    

  9. Verify that the variable PATH contains the directory to the linker.
  10. Unset all the library path variables for your operating system. The script will set these variables as required. For example:
  11. unset LD_LIBRARY_PATH LIBPATH SHLIB_PATH 
    

  12. Run the script $DLC/oebuild/make/build_orasrv.sh. If you did not set the IMAGE variable, the ORACLE DataServer server executable will be built as:
  13. $DLC/oebuild/_orasrv, otherwise the executable is built as specified by $IMAGE 
    

To use your new executable once it is built, you must set the ORASRV environment variable.

To replace your default server executable:

  1. Make a backup copy of the original executable, if one exists. For example:
  2. cp $DLC/bin/_orasrv $DLC/bin/_orasrv.orig 
    

  3. Copy the newly built executable into your installed bin directory. For example:
  4. cp $DLC/oebuild/_orasrv $DLC/bin/_orasrv 
    

  5. Change permissions on the newly created executable to include the Set UID bit. For example:
  6. chmod u+s $DLC/bin/_orasrv 
    

  7. Define the environment variable ORASRV to your executable. For example:
  8. ORASRV=$DLC/bin/_orasrv 
    export ORASRV 
    

To identify your new executable with an environment variable and without relocating:

  1. Define the environment variable ORASRV. For example:
  2. ORASRV=$DLC/oebuild/_orasrv 
    export ORASRV 
    

  3. Change permissions on the newly created executable to include the Set UID bit. For example:
  4. chmod u+s $DLC/oebuild/_orasrv 
    

Once you have created your executables, see Chapter 5, "Configuring the DataServer," for instructions on configuring and using the DataServer executables.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095